package org.dromara.app.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.app.appParams.AppPageParams;
import org.dromara.app.appReturn.AppDaRenInfo;
import org.dromara.app.appReturn.AppMyUserInfo;
import org.dromara.app.domain.SkFansUser;
import org.dromara.app.domain.vo.SkFansUserVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 粉丝列Mapper接口
 *
 * @author Evacuation
 * @date 2024-08-07
 */
public interface SkFansUserMapper extends BaseMapperPlus<SkFansUser, SkFansUserVo> {

    /**
     * 关注用户列表
     *
     * @param params
     * @return
     */
    List<AppDaRenInfo> getLikeList(@Param("params") AppPageParams params,@Param("userId") Long userId);

    /**
     * 我的粉丝列表
     */
    List<AppDaRenInfo> getFansList(@Param("params") AppPageParams params);

    List<AppDaRenInfo> getLikeListAll(Long userId);
}
